package com.clqteam.serviceimpl;

import java.util.List;

import com.clqteam.dao.ShowVIPDao;
import com.clqteam.daoimpl.ShowVIPDaoImpl;
import com.clqteam.model.VIP;
import com.clqteam.service.ShowVIPService;

import net.sf.json.JSONObject;
/**
 * 展示会员信息的service
 * @author Administrator
 *LXG
 */
public class ShowVIPServiceImpl implements ShowVIPService{
	ShowVIPDao svd=new ShowVIPDaoImpl();
	
	@Override
	public JSONObject showVIP(int page, int rows) {
		JSONObject jo=new JSONObject();
		jo.put("total", svd.countVIP());
		jo.put("rows", svd.showVIP(page, rows));
		return jo;
	}

}
